﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ares.Engine
{
    public enum BackupEntryState
    {
        New,
        Removed,
        Changed,
        Untouched
    }

    public enum BackupByteEntryState
    {
        New,
        Removed,
        Changed
    }

    public class BackupEntry
    {
        public String Path;
        public String Hash;
        public BackupEntryState State = BackupEntryState.New;
    }

    /// <summary>
    /// Contains an entry that matches a BackupEntry
    /// </summary>
    public class BackupByteEntry
    {
        public String Hash;
        public byte[] Bytes;
        public long FileOffset;
        public BackupByteEntryState State = BackupByteEntryState.Changed;
    }
}
